有 Java 编程相关的问题?

你可以在下面搜索框中键入要查询的问题!

构建/编译颤振应用程序时的java问题

每次我尝试构建颤振应用程序时都会遇到这个错误

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project '安卓'.
> Could not resolve all artifacts for configuration ':classpath'.
   > Could not download kotlin-gradle-plugin.jar (org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.50)
      > Could not get resource 'https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-gradle-plugin/1.3.50/kotlin-gradle-plugin-1.3.50.jar'.
         > Connection reset
   > Could not download kotlin-annotation-processing-gradle.jar (org.jetbrains.kotlin:kotlin-annotation-processing-gradle:1.3.50)
      > Could not get resource 'https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-annotation-processing-gradle/1.3.50/kotlin-annotation-processing-gradle-1.3.50.jar'.
         > Connection reset
   > Could not download kotlin-安卓-extensions.jar (org.jetbrains.kotlin:kotlin-安卓-extensions:1.3.50)
      > Could not get resource 'https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-安卓-extensions/1.3.50/kotlin-安卓-extensions-1.3.50.jar'.
         > Connection reset
   > Could not download kotlin-compiler-embeddable.jar (org.jetbrains.kotlin:kotlin-compiler-embeddable:1.3.50)
      > Could not get resource 'https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-compiler-embeddable/1.3.50/kotlin-compiler-embeddable-1.3.50.jar'.
         > Connection reset

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 37m 42s
Finished with error: Gradle task assembleDebug failed with exit code 1

我在运行Windows 10。 医生,从那以后一切都很好

请帮我调试一下,好像我永远无法开始安卓开发。浪费了昨天的时间去调试一切现在


共 (0) 个答案